<template>
  <el-row>
    <el-col :span="24">
      <el-card>
        <p>常用功能</p>
        <div class="content">
          <div class="item">
            <img src="@/assets/assets/box.png" alt="">
            <p>快递作业</p>
          </div>
          <div class="item">
            <img src="@/assets/assets/car.png" alt="">
            <p>运输任务</p>
          </div>
          <div class="item">
            <img src="@/assets/assets/router.png" alt="">
            <p>线路管理</p>
          </div>
          <div class="item" @click="$router.push('/enterprise')">
            <img src="@/assets/assets/manger.png" alt="">
            <p>车辆管理</p>
          </div>
          <div class="item" @click="$router.push('/driver-manage')">
            <img src="@/assets/assets/driver.png" alt="">
            <p>司机管理</p>
          </div>
          <div class="item" @click="$router.push('/data/freightManage')">
            <img src="@/assets/assets/cost.png" alt="">
            <p>运费查询</p>
          </div>
        </div>
      </el-card>
    </el-col>
  </el-row>
</template>

<script>
export default {

}
</script>

<style lang="scss">
.el-col-24{
.el-card{
 box-shadow: none;
}
}
p{
  margin:0 0 16px;
  font-size: 16px;
  font-weight: 700;
}
.content{
    display: flex;
    justify-content: space-between;
    .item{
        width: 15.15%;
        height: 116px;
        background-color: #fafafb;
        border-radius: 10px;
        cursor: pointer;
        img{
            width: 40px;
            height: 40px;
            margin: 0 auto;
            display: block;
            margin-top: 20px;
        }
        p{
            font-size: 16px;
            color: #20232a;
            font-weight: 700;
            text-align: center;
        }
    }
    .item:hover p{
            color: #e15536;
        }
}
</style>
